﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;

namespace Persistencia.Tabelas
{
    [Table(Name = "AReceber")]
    public class ContasAReceber
    {
            [Column(IsPrimaryKey = true, IsDbGenerated = true)]
            public int Codigo { get; set; }

            [Column]
            public DateTime DataVenda { get; set; }

            [Column]
            public DateTime DataRecebimento { get; set; }
            [Column]
            public DateTime DataVencimento { get; set; }
            [Column]
            public DateTime DataPrevisao { get; set; }

            [Column]
            public decimal TotalReceber { get; set; }

            [Column]
            public decimal ValorRestante { get; set; }

            [Column]
            public bool Quitado { get; set; }

            [Column]
            public string Descricao { get; set; }
    }
}
